<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>AdminLTE 2 | Log in</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>

    <link href="${ctx}/static/scripts/AdminLTE-2.1.2/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/css/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/scripts/AdminLTE-2.1.2/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/scripts/AdminLTE-2.1.2/plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css"/>

</head>
<body class="login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="${ctx}/admin/"><b>DICMS</b>管理后台</a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">请登录</p>

        <form action="${ctx}/admin/login" method="post">
            <div class="form-group has-feedback">
                <input type="text" name="username" class="form-control" placeholder="请输入账号"/>
                <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="text" name="password" class="form-control" placeholder="请输入密码"/>
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="row">
                <div class="col-xs-8">
                    <div class="checkbox icheck">
                        <label>
                            <input type="checkbox"> Remember Me
                        </label>
                    </div>
                </div>
                <!-- /.col -->
                <div class="col-xs-4">
                    <button type="submit" class="btn btn-primary btn-block btn-flat">登陆</button>
                </div>
                <!-- /.col -->
            </div>
        </form>

    </div>
    <!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<script src="${ctx}/static/scripts/AdminLTE-2.1.2/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="${ctx}/static/scripts/AdminLTE-2.1.2/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="${ctx}/static/scripts/AdminLTE-2.1.2/plugins/iCheck/icheck.min.js" type="text/javascript"></script>

<script>
    $(function () {
        $('input').iCheck({
            checkboxClass: 'icheckbox_square-blue',
            radioClass: 'iradio_square-blue',
            increaseArea: '20%' // optional
        });
    });
</script>
</body>
</html>